package com.ruoyi.project.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 栏目对象 cms_category
 * 
 * @author ruoyi
 * @date 2019-10-23
 */
public class Category extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** $column.columnComment */
	private Long id;

	/** $column.columnComment */
	private Long isShow;

	/** $column.columnComment */
	private String name;

	/** $column.columnComment */
	private Long parentId;

	/** $column.columnComment */
	private Long sequence;

	/** $column.columnComment */
	private String url;

	/** $column.columnComment */
	private Long number;

	/** $column.columnComment */
	private Long menuTypeId;

	/** $column.columnComment */
	private String url2;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setIsShow(Long isShow) {
		this.isShow = isShow;
	}

	public Long getIsShow() {
		return isShow;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setSequence(Long sequence) {
		this.sequence = sequence;
	}

	public Long getSequence() {
		return sequence;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUrl() {
		return url;
	}

	public void setNumber(Long number) {
		this.number = number;
	}

	public Long getNumber() {
		return number;
	}

	public void setMenuTypeId(Long menuTypeId) {
		this.menuTypeId = menuTypeId;
	}

	public Long getMenuTypeId() {
		return menuTypeId;
	}

	public void setUrl2(String url2) {
		this.url2 = url2;
	}

	public String getUrl2() {
		return url2;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId())
				.append("isShow", getIsShow()).append("name", getName()).append("parentId", getParentId())
				.append("sequence", getSequence()).append("url", getUrl()).append("number", getNumber())
				.append("menuTypeId", getMenuTypeId()).append("url2", getUrl2()).toString();
	}
}
